<?php

$static_page = new static_page();

$static_id = $_GET['sid'];

$static = $static_page->get($static_id);

$smarty->assign('static', $static);

$smarty->display('static.tpl', $_SESSION['uid']);

?> 
